package cn.njxzc.exercises;

import java.util.HashMap;

import java.util.Iterator;

public class Sjt8_2 {

	public static void main(String[] args) {

		HashMap m = new HashMap();

		m.put("张晓", "1234567");

		m.put("张明", "2345678");

		m.put("李晓", "4567890");

		Iterator iter = m.keySet().iterator();

		while (iter.hasNext()) {

			String key = (String) iter.next();

			System.out.println(key + " " + m.get(key));

		}
	}
}
